# Makefile for libmd1
#  Written by Mark A. Watson
#
include ../makeconfig

objects = \
md1_global_types.o\
md1_global_consts.o\
md1_LIP_coeffs.o\
md1_utils.o\
md1_car_to_sph.o\
md1_shell_pairs.o\
md1_basis_set.o\
md1_density.o\
md1_hermite_expansion.o\
md1_hermite_mpoles.o\
md1_hermite_finite_mpoles.o\
md1_multipole_ints.o\
md1_FE_AO_overlap.o\
md1_main.o

all: objcomp

objcomp : $(objects)
	$(RM) libmd1.a
	$(AR) $(ARFLAGS) libmd1.a $(objects)
	$(RANLIB) libmd1.a

clean :
	$(RM) *.o *.mod *.a

veryclean :
	$(RM) *.o *.mod *.a

.SUFFIXES:.f
.f.o: 
	$(F77) $(F77FLAGS) -c $<
.SUFFIXES:.f90
.f90.o: 
	$(F90) $(F90FLAGS) -c $<

